package com.annotation.dao;

import org.springframework.stereotype.Component;

@Component
public class TestDao {

    private String  person;

    public TestDao() {
    }

    public TestDao(String dao) {
        this.person = dao;
    }

    @Override
    public String toString() {
        return "TestDao{" +
                "dao='" + person + '\'' +
                '}';
    }
}
